/*
 * Copyright (C) 2022-present The WebF authors. All rights reserved.
 */

import 'package:flutter_test/flutter_test.dart';
import 'package:webf/webf.dart';
import 'package:flutter/material.dart';

void main() {
  // 确保测试绑定已初始化
  TestWidgetsFlutterBinding.ensureInitialized();

  group('WebF 最小化测试', () {
    // 只测试WebFBundle的创建
    test('WebFBundle可以创建', () {
      // 创建一个简单的HTML字符串
      const html = '<div>Hello WebF!</div>';
      
      // 创建bundle
      final bundle = WebFBundle.fromContent(html);
      
      // 验证bundle已创建
      expect(bundle, isNotNull);
    });
  });
}